package com.wkbb.basic.model;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * b_user_open
 * @author Lxc
 * @date 2019-07-06 14:26:16
 */
@Data
public class UserOpen implements Serializable {
    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    private Long id;

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型(1公众号 2小程序)")
    private Short type;

    /**
     * 类型
     */
    @ApiModelProperty(value = "来源(1登录 2绑定)")
    private Short origin;

    /**
     * 类型
     */
    @ApiModelProperty(value = "小程序(0微看 1访客 2体育)")
    private Short miniApp;

    /**
     * 账号ID
     */
    @ApiModelProperty(value = "账号ID")
    private Long accountId;

    /**
     * 组织ID
     */
    @ApiModelProperty(value = "组织ID")
    private Long orgId;

    /**
     * 用户
     */
    @ApiModelProperty(value = "用户")
    private Long userId;

    /**
     * UNIONID
     */
    @ApiModelProperty(value = "UNIONID")
    private String unionId;

    /**
     * OPEN_ID
     */
    @ApiModelProperty(value = "OPEN_ID")
    private String openId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
}